<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>渠道添加</title>
  <link href="__PUBLIC__/css/admin/reset.css" rel="stylesheet" type="text/css">
  <link href="__PUBLIC__/css/admin/zh-cn-system.css" rel="stylesheet" type="text/css">
  <link href="__PUBLIC__/css/admin/table_form.css" rel="stylesheet" type="text/css">
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/admin/style/zh-cn-styles1.css" title="styles1" media="screen">
  <link rel="alternate stylesheet" type="text/css" href="__PUBLIC__/css/admin/style/zh-cn-styles2.css" title="styles2" media="screen">
  <link rel="alternate stylesheet" type="text/css" href="__PUBLIC__/css/admin/style/zh-cn-styles3.css" title="styles3" media="screen">
  <link rel="alternate stylesheet" type="text/css" href="__PUBLIC__/css/admin/style/zh-cn-styles4.css" title="styles4" media="screen">
  <script type="text/javascript" src="__PUBLIC__/js/admin/jquery.min.js"></script>
  <script type="text/javascript" src="__PUBLIC__/js/admin/jquery.cookie.js"></script>
  <script type="text/javascript" src="__PUBLIC__/js/admin/styleswitch.js"></script>
  <script type="text/javascript" src="__PUBLIC__/js/admin/admin_common.js"></script>
  <script language="javascript" type="text/javascript" src="__PUBLIC__/js/admin/formvalidator.js" charset="UTF-8"></script>
  <script language="javascript" type="text/javascript" src="__PUBLIC__/js/admin/formvalidatorregex.js" charset="UTF-8"></script>
</head>
<body>
  <div class="subnav">
    <div class="content-menu ib-a blue line-x">
      <a class="add fb" href="__MODULE__/State/add/pid/0"><em>添加地区</em></a>&nbsp;&nbsp;&nbsp;<a class="" href="__MODULE__/State/index"><em>国家管理</em></a>
    </div>
  </div>
  <style type="text/css">
  html{_overflow-y:scroll}
  </style>
  <div class="pad-lr-10">
    <form  action="__MODULE__/State/add" method="post">
      <table cellpadding=0 cellspacing=0 class="table_form" width="100%">
        <tr>
            <td align="right">上一级：</td>
          <td>
              <select name="pid" style="width: 300px">
                  <option value="0">国家</option>
                  <foreach name="state" item="val">
                      <if condition="$val['id'] == $pid">
                            <option value="<!--{$val['id']}-->" selected><!--{$val['cname']}-->&nbsp;&nbsp;<!--{$val['ename']}--></option>
                        <else />
                          <option value="<!--{$val['id']}-->"><!--{$val['cname']}-->&nbsp;&nbsp;<!--{$val['ename']}--></option>
                      </if>

                  </foreach>
              </select>

          </td>
        </tr>
        <tr>
          <td width="10%" align="right">中文名(cn)：</td>
          <td width="90%">
            <input type="text" class="input-text" name="cname" id="state" value="" size="40" required/><span>请输入国家名称</span>
          </td>
        </tr>
        <tr>
          <td width="10%" align="right">英文名（en）：</td>
          <td width="90%">
            <input type="text"class="input-text" name="ename" id="state_cn" value="" size="40" required/><span>请输入国家英文名</span>
          </td>
        </tr>

      </table>
      <div class="bk15"></div>
      <div class="btn"> 
        <input type="submit" name="dosubmit" id="dosubmit" value="提交" class='button'>&nbsp;<input type="reset" value="重置" class='button'>
      </div>
    </form>
  </div>
  <script type="text/javascript">

  </script>
</body>
</html>